package com.ms.client.monitor.api.service;

import java.util.Date;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.ms.msclient.MsClient;
import com.ms.msclient.MsClientResponse;

@MsClient(value="${service.id.monitor}", defalut="ms-cloud-monitor")
public interface ApiPrjOptimizeLogService {

	/**
	 * 保存记录
	 * @param code
	 * @param url
	 * @param params
	 * @param reqTime
	 * @param resTime
	 * @param useTime
	 * @param resResult
	 * @param remark
	 * @return
	 */
	@RequestMapping(value = "/api/prjOptimizeLog/save")
	public abstract MsClientResponse<String> save(@RequestParam("code")String code, @RequestParam("url")String url,
			@RequestParam("params")String params, @RequestParam("reqTime")Date reqTime, @RequestParam("resTime")Date resTime,
			@RequestParam("useTime")Integer useTime, @RequestParam("resResult")String resResult, @RequestParam("remark")String remark);

}
